 set term gif animate 
 set output "newton.gif" 
  set samples 10000 
  plot [0:4] x*x-1 w l t "y=x^2", 0 w l lc "black" notitle 
 set arrow 1 nohead from 4,0 to 4,15 nohead lw 2 lc "red" 
 set title " Point 1" font "Arial,20" 
 set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 replot 
 unset arrow 10 
 replot 
  set arrow 10 from 4,15 to 2.125,0 nohead lw 2 lc "red"
 set arrow 2 nohead from 2.125,0 to 2.125,3.51562 nohead lw 2 lc "red" 
 set title " Point 2" font "Arial,20" 
 set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 replot 
 unset arrow 20 
 replot 
  set arrow 20 from 2.125,3.51562 to 1.29779,0 nohead lw 2 lc "red"
 set arrow 3 nohead from 1.29779,0 to 1.29779,0.68427 nohead lw 2 lc "red" 
 set title " Point 3" font "Arial,20" 
 set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 replot 
 unset arrow 30 
 replot 
  set arrow 30 from 1.29779,0.68427 to 1.03417,0 nohead lw 2 lc "red"
 set arrow 4 nohead from 1.03417,0 to 1.03417,0.0694997 nohead lw 2 lc "red" 
 set title " Point 4" font "Arial,20" 
 set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 replot 
 unset arrow 40 
 replot 
  set arrow 40 from 1.03417,0.0694997 to 1.00056,0 nohead lw 2 lc "red"
 set arrow 5 nohead from 1.00056,0 to 1.00056,0.00112908 nohead lw 2 lc "red" 
 set title " Point 5" font "Arial,20" 
 set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 50 
 replot 
  set arrow 50 from 1.00056,0.00112908 to 1,0 nohead lw 2 lc "red"
 set arrow 6 nohead from 1,0 to 1,3.18346e-07 nohead lw 2 lc "red" 
 set title " Point 6" font "Arial,20" 
 set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 60 
 replot 
  set arrow 60 from 1,3.18346e-07 to 1,0 nohead lw 2 lc "red"
 set arrow 7 nohead from 1,0 to 1,2.53131e-14 nohead lw 2 lc "red" 
 set title " Point 7" font "Arial,20" 
 set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
 replot 
 unset arrow 70 
 replot 
  set arrow 70 from 1,2.53131e-14 to 1,0 nohead lw 2 lc "red"
